<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="com.servlet.loginServlet" method="post">
    <h1>重定向表单</h1>
    账号：<input name="user_name" type="text"><br>
    密码：<input name="password" type="password"><br>
    性别：<input name="sex" type="radio">
    <input type="submit" value="提交">
</form>

<form action="com.servlet.loginServlet" method="post">
    <h1>转发表单</h1>
    账号：<input name="user_name" type="text"><br>
    密码：<input name="password" type="password"><br>
    <input type="submit" value="提交">
</form>
</body>
</html>